package com.training1.core.modules.service;

import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training1.core.common.entity.BOXUserEntity;
import com.training1.core.common.entity.RespJson;
import com.training1.core.common.global.signIn.BOXLoginInfoUtil;
import com.training1.core.common.service.CrudService;
import com.training1.core.common.utils.framework.RespJsonFactory;
import com.training1.core.common.utils.security.MD5;
import com.training1.core.entity.ContractBaseEntity;
import com.training1.core.modules.dao.BOXUserEntityDao;
import com.training1.core.modules.dao.ContractDao;

/**
 * 用户
 * @author hl
 *
 */
@Service
@Transactional
public class BOXUserEntityService extends CrudService<BOXUserEntityDao,BOXUserEntity>{

	@Resource
	private BOXUserEntityDao buserDao;
	
	public BOXUserEntity findUser(Map<String, Object> param){
		return buserDao.findUser(param);
	}
	public BOXUserEntity edit(Integer id){
		return buserDao.edit(id);
	}
	public int deleteById(Map<String, Object> param){
		return buserDao.deleteById(param);
	}
	
}
